﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head> 
   <title>Performance</title> 
   <!-- Template design (c) copyright 2008-2009 by Tim Green and EC Software -->
   <meta name="generator" content="Help &amp; Manual" /> 
   <meta name="keywords" content="" />
   <meta name="description" content="Performance" />
   <meta name="copyright" content="© 2012 Kentico Software" /> 
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
   <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
   <link type="text/css" href="default.css" rel="stylesheet" /> 
   <link type="text/css" href="custom.css" rel="stylesheet" />

   <script type="text/javascript" src="jquery-1.3.2.min.js"></script>
   <script type="text/javascript" src="jquery.scrollTo-min.js"></script>
   <script type="text/javascript" src="nsh.js"></script>



         
   <!-- CSS set with project variables and local attributes --> 
   <style type="text/css" media="screen"> 
   body { background: #fff; } 
   #breadcrumbs {width: 100%; background-color: white; border-bottom: 1px solid #000; padding: 0px 0px 5px 15px;
   margin: 3px 0; font-size: 8pt; color: #000;}
   #breadcrumbs a { color: #000; text-decoration: none;}
   #breadcrumbs a:visited { color: #000; }
   #breadcrumbs a:hover { color: #098ae2; text-decoration: none; }
   .help-url { font-size: 10pt; font-family: Arial, Verdana, Helvetica, sans-serif; 
               color: #1f84e8; text-align: center; margin: 5px 20px 10px 0px; 
               padding-top: 14px; border-top: 1px solid #000;}
   .help-url a { color: #098ae2; text-decoration: none; }
   .help-url a:visited { color: #098ae2; }
   .help-url a:hover { color: #098ae2; text-decoration: underline; }
   .highlight {background: #ffff40;}
   .breadhead {padding: 5px 0px 0px 0px !important;}    
   #innerdiv   
   {   
   padding-left: 5px;
   }
   

   </style> 

<!-- Adjustment for IE -->
<!--[if lte IE 8]>
<style type="text/css">
.topichead { padding-right: 0; }
   
   
   	.breadhead {
	margin: 0;
	padding-right: 5px;
	}
   
   
</style>
<![endif]-->
   
<script type="text/javascript">
// Initialize the page 
addEvent(window, "load", nsrInit);
addEvent(window, "load", doResize);
addEvent(window, "resize", doResize);
addEvent(window, "load", toggleJump);

</script>


<script type="text/javascript">
function mailFB_custom() {
var headerText = unQuot("Feedback on: Kentico CMS 6.0 Context Help - Performance".replace('&nbsp;',''));
var fb1 = "mailto:" + escape('Kentico Support Team <support@kentico.com>') + "?subject=" + headerText;
var titlePath = unQuot("CMS Site Manager &gt; Settings &gt; System &gt; Performance /");
var fb2 = "&body=Ref:%20" + titlePath + "%20ID:%20settings_systemperformance%0A%0D%0A%0D" + unQuot("Dear Support Staff,") + "%0A%0D%0A%0D";
var fb = fb1 + fb2;
document.location.href=fb;
}
</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-105987-4']);
  _gaq.push(['_setDomainName', '.kentico.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>        
<script type="text/javascript" src="helpman_topicinit.js"></script>
<!-- Redirect browser to frame page if page is not in the content frame. -->
<script type="text/javascript">
<!--
if (location.search.lastIndexOf("toc=0")<=0) {
  if (parent.frames.length==0) { parent.location.href="index.html?settings_systemperformance.htm"; }
  else { parent.quicksync('a2.3.4.1'); }
}
//-->
</script>
<script type="text/javascript" src="highlight.js"></script></head> 
<body onload="highlight();">
<div id="hmpopupDiv" style="visibility:hidden; position:absolute; z-index:1000; "></div>
<!--ZOOMSTOP-->

<div id="printheader">
<span id="printtitle">Kentico CMS 6.0 Context Help</span><br />
<p class="p_Heading1"><span class="f_Heading1">Performance</span></p>
</div>
<div id="idheader" style="border-bottom:1px solid #000;margin:0px 0px;"> 
<table id="breadtable" border="0" cellspacing="0" cellpadding="0" width="100%"> 
  <tr >
  <td align="left" class="breadhead" >
       <p id="breadcrumbs"><a href="mode_selection.htm"
        onmouseover="document.images.main.src='home_h.gif'" 
        onmouseout="document.images.main.src='home.gif'">
        <img name="main" src="home.gif" border="0" alt="Home topic" title="Home topic" /></a> 
        
        CMS Site Manager &gt; <a href="settings_settings.htm">Settings</a> &gt; <a href="settings_system.htm">System</a>:</p> 
  </td>
  </tr>
</table>
<table width="99%" border="0" cellspacing="0" cellpadding="0" id="headtable"> 

<!-- Script version of NavHeader -->
  <tr id="scriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead" style="padding-left: 15px;"> 
    <p class="p_Heading1"><span class="f_Heading1">Performance</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="settings_system.htm"
        onmouseover="document.images.prev.src='button_prev_h.gif'" 
        onmouseout="document.images.prev.src='button_prev.gif'">
        <img name="prev" src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="settings_systememail.htm"
        onmouseover="document.images.next.src='button_next_h.gif'" 
        onmouseout="document.images.next.src='button_next.gif'"><img name="next" src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>

   
   
   
   
   

     
   <td id="print-button" align="center" width="20" class="idnav" valign="bottom">
     <a href="javascript: print();" 
     onmouseover="document.images.printbutton.src='print_h.gif'" 
     onmouseout="document.images.printbutton.src='print.gif'"><img name="printbutton" border="0" alt="Print this topic" title="Print this topic" src="print.gif" /></a>
   </td>  
     
     

  
   <td id="mail-feedback" align="center" width="20" class="idnav" valign="bottom">
   <a href="#"
        onclick='mailFB_custom();'
        onmouseover="document.images.feedback.src='mail_h.gif'" 
        onmouseout="document.images.feedback.src='mail.gif'"><img name="feedback" src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>
<!-- End script navheader version -->

<!-- NoScript version of navheader -->

  <tr id="noScriptNavHead" valign="middle" style="height: auto;"> 
    <td align="left" class="topichead"> 
    <p class="p_Heading1"><span class="f_Heading1">Performance</span></p>

    </td>
    <td align="center" width="20" class="idnav" valign="bottom">
     <a href="settings_system.htm">
        <img src="button_prev.gif" border="0" alt="Previous topic" title="Previous topic" /></a>
     
   </td>
   
   <td align="center" width="20" class="idnav" valign="bottom">
     <a href="settings_systememail.htm">
        <img src="button_next.gif" border="0" alt="Next topic" title="Next topic" /></a>
        
   </td>
   
   
   
  
   

     
     
   <td align="center" width="20" class="idnav" valign="bottom">
   <img border="0" alt="JavaScript is required for the print function" title="JavaScript is required for the print function" src="print_d.gif" />
   </td>
     
     
   
   <td align="center" width="20" class="idnav" valign="bottom">
   <a href="mailto:support@kentico.com?subject=Documentation%20feedback&body=Ref%20ID:%20settings_systemperformance%0D%0D"><img src="mail.gif" border="0" alt="Mail us feedback on this topic!" title="Mail us feedback on this topic!" /></a>
   </td>
   
   <td width="4">&nbsp;</td>
  </tr>

<!-- End noscript navheader version -->
  </table>
<div id="autoTocWrapper"></div>
</div> 

<div id="idcontent"><div id="innerdiv">
<!--ZOOMRESTART-->
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px;"><table width="820" cellspacing="0" cellpadding="5" border="0" style="border: none; border-spacing:0px; border-collapse: collapse;">
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">General</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>Allow GZip compression</p>
</td>
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>Enables GZip compression of the output code of all pages rendered by Kentico CMS. The same result can be achieved by adding the following key to the <span style="font-style: italic;">appSettings</span> section of the <span style="font-style: italic;">web.config</span> file: <span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">&lt;</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #a31515;">add</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: 'Courier New'; color: #ff0000;">key</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">CMSAllowGZip</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: 'Courier New'; color: #ff0000;">value</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;">true</span><span style="font-size: 9pt; font-family: 'Courier New';">"</span><span style="font-size: 9pt; font-family: 'Courier New'; color: #0000ff;"> /&gt;</span>.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">Server content caching</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Cache page info (minutes)</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>Number of minutes the page information should be cached for. This option is used for caching of page content and metadata. Since Kentico CMS often retrieves page information many times during the processing of a single page, it's actually a must to <span style="font-weight: bold;">always set this value to at least 10 minutes! </span>Kentico CMS automatically removes the cached page when it's modified, so it doesn't cause outdated content to be displayed.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Cache content (minutes)</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>Number of minutes content should be cached for. This option specifies that all web parts/controls should cache the content that they retrieve from Kentico CMS. You can override this value by setting the <span style="font-weight: bold;">Cache minutes</span> property of web parts to 0, which disables caching for the given control, or generally to some different number of minutes. It's recommended that you cache all possible content that is not modified too often. The drawback of this option is that when you modify some content, the changes appear on the live site only after the old version expires in the cache.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">Server file caching</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Cache images (minutes)</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>This option is used only for caching of images and sets the number of minutes that the images should be cached for. It's recommended that you always use it. Kentico CMS automatically removes a cached image when it's modified, so it doesn't cause displaying of outdated content.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Maximum file size to cache</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>Specifies the maximum size of a file in kilobytes that is allowed to be cached.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Redirect files to disk</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If checked, file requests are redirected to the corresponding physical file in the file system if possible.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">Client caching</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Client cache (minutes)</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>Number of minutes for which content can be cached in the client browser. If the value is set to 0, client caching is disabled.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Client cache must revalidate</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If enabled, content that is cached in the client browser must be revalidated by calling the server. If disabled, the browser will not have to perform server requests if the requested content is already cached.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">Output caching</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>Enable output caching</p>
</td>
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>If checked, the output caching is enabled. If unchecked, no output caching is allowed on the whole site. The document settings still apply, both this settings and document settings must be enabled to use output cache.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>Cache output in file system (minutes)</p>
</td>
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>Specifies the amount of time for which the output cache should be stored in the file system to provide persistent cache storage on application restart. If not set, standard caching mechanism in memory is used. If set, the system checks both caches.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>Enable partial caching</p>
</td>
<td valign="middle" width="35%" style="width:35%; border: solid 1px #000000;"><p>If checked, the partial caching of web parts is enabled. If unchecked, no partial caching is allowed on the whole site. The web part settings still apply, both this settings and web part settings must be enabled to use partial cache.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">Resources (global settings only)</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Allow resource compression</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p><span class="f_Comment">If enabled, JavaScript and CSS stylesheet web resources will be compressed before they are sent to the client browser, which reduces the amount of data that must be loaded. Uncompressed versions will remain available for browsers that cannot process compressed data.</span></p>
<p>&nbsp;</p>
<p><span class="f_Comment">Minification of the given resource type must be enabled (via the </span><span class="f_Comment" style="font-weight: bold;">Allow JavaScript/CSS minification</span><span class="f_Comment"> settings) in order for compression to be applied.</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Allow JavaScript minification</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>Indicates if JavaScript resources should be minified before they are served to the client browser. Minified code has a reduced size, which saves bandwidth and decreases response times, but may not be suitable for debugging.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Allow CSS minification</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>Indicates if CSS stylesheet resources should be minified before they are served to the client browser.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td colspan="2" valign="middle" width="71%" style="width:71%; border: solid 1px #000000;"><p><span style="font-weight: bold;">CSS Styles (global settings only)</span></p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Resolve macros in CSS</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If checked, it will be possible to use macros in CSS stylesheets to dynamically insert the content of other stylesheets. </p>
<p>&nbsp;</p>
<p>To insert this type of macro, add an expression into the code of a stylesheet according to the following format: <span style="font-style: italic;">{%CSS["&lt;stylesheetname&gt;"]%}</span></p>
<p>&nbsp;</p>
<p><span style="font-weight: bold; text-decoration: underline;">Warning</span>: If you wish to disable this setting, it is first necessary to remove all occurrences of macros from your stylesheets. Unresolved macro expressions are not valid CSS code and as a result, the given stylesheets will not be processed correctly by browsers.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Allow CSS from components</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If enabled, CSS styles defined for individual page components (e.g. web parts, page templates etc.) will automatically be requested by the page where they are placed. Otherwise it is necessary to either have all styles defined directly in the website's stylesheets, or to link the styles of the required components into the stylesheets via CSS macros.</p>
</td>
</tr>
<tr style="text-align:left;vertical-align:top;">
<td valign="middle" width="29%" style="width:29%; border: solid 1px #000000;"><p>Combine CSS from components</p>
</td>
<td valign="top" width="71%" style="width:71%; border: solid 1px #000000;"><p>If enabled, pages will load the CSS styles of all contained components via a single request. Otherwise different types of components will each generate a separate request. The styles of multiple components of the same type (e.g. several web parts) are always retrieved by a single request.</p>
<p>&nbsp;</p>
<p>Combining the CSS requests into one may improve the load time of individual pages and is recommended in most cases.</p>
</td>
</tr>
</table>
</div>
<p>&nbsp;</p>
<p>More resources can be found in:</p>
<p>&nbsp;</p>
<div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 8px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><a href="http://devnet.kentico.com/docs/6_0/devguide/performance_overview.htm" target="_blank" class="weblink">Developer's Guide -&gt; Development -&gt; Caching and performance</a></td></tr></table></div><div style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 8px;"><table border="0" cellpadding="0" cellspacing="0" style="line-height: normal;"><tr style="vertical-align:baseline" valign="baseline"><td width="13"><span style="font-size: 10pt; font-family: 'Arial Unicode MS', 'Lucida Sans Unicode', 'Arial'; color: #000000;">&#8226;</span></td><td><a href="http://devnet.kentico.com/docs/6_0/devguide/css_overview.htm" target="_blank" class="weblink">Developer's Guide -&gt; Development -&gt; CSS stylesheets and design</a></td></tr></table></div><p>&nbsp;</p>

<!--ZOOMSTOP--> 

<noscript>
<p class="help-url"><b>Help URL:&nbsp;</b><a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?settings_systemperformance.htm" target="_top" title="Right-click to copy the URL of this help topic">
<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?settings_systemperformance.htm</a>
</p>
</noscript>
<script type="text/javascript">
var autoURL = true;
if (autoURL) {
      document.write(getHref("index.html","Help URL:","Right-click to copy the URL of this help topic"));
      } else {
             document.write('<p class="help-url"><b>Help URL:&nbsp;</b>');
             document.write('<a href="<%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?settings_systemperformance.htm" target="_top" title="Right-click to copy the URL of this help topic"><%HELP_LOCATION%><%DEVNET_PATH_NAME%>/index.html?settings_systemperformance.htm</a>');
             document.write('</p>');
      }
</script>

</div></div> 
</body>
</html>





